<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><div class="top w980 bc clearfix">
	<img src="http://localhost/cms/Template/style/images/index_02.jpg" class="fl" />
    <div class="fr topbox">
        <!-- 
        <a href="">
            <img src="http://localhost/cms/Template/style/images/index_05.jpg" />
            常见问题
        </a>
        <a href="">
            <img src="http://localhost/cms/Template/style/images/index_07.jpg" />
            人才招聘
        </a>
        <a href="">
            <img src="http://localhost/cms/Template/style/images/index_09.jpg" />
            下载专区
        </a>
         -->
    </div>
</div>
<div class="nav w">
	<ul class="w980 bc navlist">
    	<li <?php if(!Q('get.cid')){?>class="thisClass"<?php }?>>
            <a href="http://localhost/cms/index.html">网址首页</a>
        </li>
        <?php $cate = K('Category')->where('is_show=1 and is_nav=1')->limit()->order('csort DESC')->all(); ?>
<?php if(is_array($cate)):?><?php  foreach($cate as $field){ ?>
<?php 
$field['curl'] = get_cate_url($field['is_listhtml'],$field['htmldir'],$field['cid']);
$field['class'] = $field['cid'] == Q('get.cid') ? thisClass : '';
?>

            <li class="<?php echo $field['class'];?>">
                <a href="<?php echo $field['curl'];?>"><?php echo $field['cname'];?></a>
            </li>
        
<?php }?><?php endif;?>
    </ul>
</div>